<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:useBean id="m" class="com.tom.Member" scope="session"></jsp:useBean>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>閣下租車網</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/main.css" media="screen" />
<link rel="stylesheet" type="text/css" href="prettyphoto/css/prettyPhoto.css" media="screen" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/core.js"></script>
<script type="text/javascript" src="pngFix/jquery.pngFix.js"></script>
<script type="text/javascript" src="prettyphoto/js/jquery.prettyPhoto.js"></script>
</head>
<body>
<div id="wrapper">
   <div id="logo">
    <h1><a href="index.jsp">閣下租車　<span>閣下至上</span></a></h1>
  </div>
  <div id="content">
    <ul class="menu" id="jMenu">
      <li class="current"><a href="company.jsp">公司簡介</a></li>
      <li><a href="rentcar.jsp">我要租車</a></li>
      <li><a href="carstyle.jsp">車型項目</a></li>
      <li><a href="question.jsp">常見問題</a></li>
      <li><a href="message.jsp">我要留言</a></li>
      <li><a href="online.jsp">線上客服</a></li>
      <li><a href="member.jsp">會員專區</a></li>
    </ul>
    <div class="x"></div>
    <!-- image slider -->
    <div id="pitch">
      <div class="pitch-gallery">
        <div class="pitch-gallery-holder" id="gallery-pitch-holder">
          <div class="pitch-gallery-div"> <img src="images/pitch-1.jpg" alt="" />
            <div class="infoline">要租車　來閣下　閣下租車網是您唯一的首選</div>
          </div>
          <div class="pitch-gallery-div"> <img src="images/pitch-2.jpg" alt="" />
            <div class="infoline">最新消息　<strong>閣下租車網</strong>　過年特大優惠專案</div>
          </div>
          <div class="pitch-gallery-div"> <img src="images/pitch-3.jpg" alt="" />
            <div class="infoline">過年回娘家　回娘家　選閣下</div>
          </div>
          <div class="pitch-gallery-div"> <img src="images/pitch-4.jpg" alt="" />
            <div class="infoline">閣下租車網特價優惠中</div>
          </div>
        </div>
      </div>
    </div>
    <!-- main content -->
    <div id="left">
      <h1>|　加　|　入　|　會　|　員　|</h1>
 <div id="member">
<form action="RegServlet" method="post">
<input type="hidden" name="action" value="register" />

<div align="left"><br/>
<fieldset style="width:80%">
<legend>會員註冊</legend><br/>
	("<span class="starMark">*</span>"     為必填欄位)
	<br/>
	<br/>
	<span class="starMark">*</span>
	  身份證字號:<input id="id" name="id" type="text" value="${m.id}"/>${m.useridMessage}
	<br/>
	<span class="note">（您以後的登錄ID；不可修改）</span>
	<br/>
	<span class="starMark">*</span>
	  密碼:<input id="password1" name="password1" type="text" value="${m.password1}"/> ${m.pwMessage}
	<br/>
	<span class="note">（您以後的登錄密碼, 請設定 6 到 16 位英數字夾雜）</span>
	<br/>
	<span class="starMark">*</span>
	  再輸入一次密碼:<input id="password2" name="password2" type="text" value="${m.password2}"/>
	<br/>
	<span class="note">（確認 您的登錄密碼）</span>
	<br/>
	<span class="starMark">*</span>
	  中文姓名:<input name="name_c" type="text" value="${m.name_c}"/>${m.nameMessage}
	<br/>
	<span class="note">（請務必填寫真實全名）</span>
	<br/>
	  英文姓名:<input name="name_a" type="text" value="${m.name_a}"/>
	<br/>  
	  出生年月日:<input name="brith" type="text" value="${m.brith}"/>
	  <br/> 
	  <span class="note">（您的生日, 請設定 8 位數字格式為:yyyymmdd 例:20130101）</span>
	<br/>
	<span class="starMark">*</span>
	 主要聯絡電話-區域碼:<input name="tel_area1" type="text" value="${m.tel_area1}"/>
	<br/>
	<span class="starMark">*</span>
	  主要聯絡電話-市話:<input name="telephone1" type="text" value="${m.telephone1}"/>
	<br/>
	  主要聯絡電話-分機:<input name="telephone1_p" type="text" value="${m.telephone1_p}"/>
	<br/>
	<span class="starMark">*</span>
	  主要聯絡電話-行動電話:<input name="mobile1" type="text" value="${m.mobile1}"/>
	<br/>
	  次要聯絡電話-區域碼:<input name="tel_area2" type="text" value="${m.tel_area2}"/>
	<br/>
	  次要聯絡電話-市話:<input name="telephone2" type="text" value="${m.telephone2}"/>
	<br/>
	  次要聯絡電話-分機:<input name="telephone2_p" type="text" value="${m.telephone2_p}"/>
	<br/>
	  次要聯絡電話-行動電話:<input name="mobile2" type="text" value="${m.mobile2}"/>
	<br/>
	<span class="starMark">*</span>
	  戶籍地址:<input name="address1" type="text" value="${m.address1}"/>${m.address1Message}
	<br/>
	<span class="starMark">*</span>  
	  聯絡地址:<input name="address2" type="text" value="${m.address2}"/>${m.address2Message}
	<br/>           
	<span class="starMark">&nbsp;</span>
   	 最高學歷:<input name="original" type="text" value="${m.original}"/>     
    <br/>                           
    <span class="starMark">&nbsp;</span>
 	 職業:<input name="original" type="text" value="${m.original}"/>               
      <br/>                           
 	  服務單位-統編:<input name="company_num" type="text" value="${m.company_num}"/>
	<br/>
	  服務單位-公司全稱:<input name="company_name" type="text" value="${m.company_name}"/>
	<br/>
	  服務單位-職稱:<input name="company_job" type="text" value="${m.company_job}"/>
	<br/>
	  服務單位-區域碼:<input name="company_tel_area" type="text" value="${m.company_tel_area}"/>
	<br/>
	  服務單位-市話:<input name="company_tel" type="text" value="${m.company_tel}"/>
	<br/>
	  服務單位-分機:<input name="company_tel_p" type="text" value="${m.company_tel_p}"/>
	<br/>
	  緊急聯絡人-姓名:<input name="contact_name" type="text" value="${m.contact_name}"/>
	<br/>
	  緊急聯絡人-與您關係:<input name="contact_keep" type="text" value="${m.contact_keep}"/>
	<br/>
	  緊急聯絡人-區域碼:<input name="contact_area" type="text" value="${m.contact_area}"/>
	<br/>
	  緊急聯絡人-市話:<input name="contact_tel" type="text" value="${m.contact_tel}"/>
	<br/>
	  緊急聯絡人-分機:<input name="contact_tel_p" type="text" value="${m.contact_tel_p}"/>
	<br/>
	<span class="starMark">*</span>
	  email:<input name="email" type="text" value="${m.email}"/>${m.emailMessage}
	<br/>
	<span class="note">（格式為: xxx@yahoo.com 或 xxx@gmail.com）</span>
	<br/>
	${CAP_WRONG }
	<IMG SRC="stickyImg"/>
	
	<input name = "answer" />
	<br/>
	  <input type="submit" value="註冊"/>
<br/>
<br/>
<input  type="reset" value="重新填寫" />
</fieldset>
</div>
</form>
</div>
    </div>
    <!-- sidebar -->
    <div id="right">
      <h1>最新消息</h1>
      <h2><a href="#">持國旅卡享5折優惠　閣下臨櫃租車不分平假日</a></h2>
      <p class="post-info">Posted on 10.12.2013. in Category | 12 comments</p>
      <h2><a href="#">閣下首創　低碳綠能電車隊evo</a></h2>
      <p class="post-info">Posted on 10.15.2013. in Category | 12 comments</p>
      <h2><a href="#">租閣下綠能車，抽兄弟象簽名球</a></h2>
      <p class="post-info">Posted on 12.01.2013. in Category | 12 comments</p>
      <h2><a href="#">用閣下出租單　享三鐵購票優惠</a></h2>
      <p class="post-info">Posted on 12.12.2009. in Category | 12 comments</p>
    </div>
    <div class="x"></div>
    <div class="break"></div>
  <!-- small posts --></div>
  <!-- footer -->
  <div id="footer">
    <p>Copyright &copy; 2013 j201 &middot; Design:j201-4</p>
  </div>
</div>
<!-- gallery starter and prettyPhoto starter -->
<script type="text/javascript">
jGallery('pitch');
$(document).pngFix();
$(document).ready(function(){
	$("a[rel^='prettyPhoto']").prettyPhoto();
});
</script>
</body>
</html>